package com.insurance.domain.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
 * (Department)表实体类
 *
 * @author makejava
 * @since 2023-03-28 15:25:07
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("sys_department")
public class Department {
    //部门编号
    @TableId
    private Long id;
    //部门名称
    private String departmentName;
    //部门电话
    private String phone;
    //部门地址
    private String address;
    //所属部门编号
    private Long pid;
    //所属部门名称
    private String parentName;
    //排序
    private Integer orderNum;
    //是否删除(0-未删除 1-已删除)
    private Integer isDelete;
}

